QT += core gui widgets network

TARGET = teacher
TEMPLATE = app

# 应用程序信息
VERSION = 1.0.0
QMAKE_TARGET_COMPANY = "电子教室系统"
QMAKE_TARGET_PRODUCT = "教师端"
QMAKE_TARGET_DESCRIPTION = "电子教室系统教师端程序"

# 源文件
SOURCES += \
    main.cpp \
    teacherwindow.cpp \
    screenrecorder.cpp \
    networkstreamer.cpp \
    remotecontroller.cpp \
    screenviewer.cpp

# 头文件
HEADERS += \
    teacherwindow.h \
    screenrecorder.h \
    networkstreamer.h \
    remotecontroller.h \
    screenviewer.h

# 界面文件（如果需要）
# FORMS += \
#     teacherwindow.ui

# 资源文件（如果需要）
# RESOURCES += \
#     resources.qrc

# 编译配置
CONFIG += c++17
CONFIG += release

# Linux平台配置
LIBS += -lavcodec -lavformat -lavutil -lswscale
DEFINES += LINUX_PLATFORM

# 调试配置
CONFIG(debug, debug|release) {
    DEFINES += DEBUG_MODE
    TARGET = teacher_debug
}

# 安装配置
target.path = /usr/local/bin
INSTALLS += target

# 输出目录
DESTDIR = ../build
